﻿using PlayingCards.Model.Entity;
using PlayingCards.Service.IEntityService;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlayingCards.Service.TokenService
{
    public interface IUserTokenService : IBase
    {
        /// <summary>
        ///  获取当前登录的用户信息
        /// </summary>
        /// <returns></returns>
        Task<int> GetUserId();

        /// <summary>
        ///  获取当前登录的用户信息
        /// </summary>
        /// <returns></returns>
        Task<Player> GetUser();
    }
}
